package com.gooluke.redismap.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author gooluke
 * description
 * datetime 2025-09-14 17:31
 */
@Data
@ConfigurationProperties(prefix = "redis-map")
public class RedisMapProperties {

    private boolean enabled = true;
    private DeleteConfig delete = new DeleteConfig();

    @Data
    public static class DeleteConfig {
        private long initialDelay = 0;
        private long period = 600;
    }

}
